package com.dks.repository.impl;

import com.alibaba.fastjson.JSONObject;
import com.dks.dto.TestDto;
import com.dks.result.Result;
import com.dks.vo.TestVo;
import org.springframework.stereotype.Repository;

import com.dks.repository.OrderRepository;

/**
 * @author evan
 * @date 2020/4/15
 */
@Repository
public class OrderRepositoryImpl implements OrderRepository {

    @Override
    public String test() {
        return "test";
    }

    @Override
    public String testPost(TestDto testDto) {
        TestVo testVo = new TestVo();
        testVo.setS(testDto.getS() + ">>> resp");
        return JSONObject.toJSONString(testVo);
    }
}
